cmake_minimum_required(VERSION 3.24)
project(ClionProject C)

set(CMAKE_C_STANDARD 11)

add_executable(
        ClionProject
        Main/main.c
        Main/Sources/ChainsC/RecordChain.c Main/HeadFiles/ChainsH/RecordChain.h
        Main/HeadFiles/UsedStd.h
        Main/Sources/ChainsC/ClientChain.c Main/HeadFiles/ChainsH/ClientChain.h
        Main/Sources/InputCheck.c Main/HeadFiles/InputCheck.h
        Main/Sources/MD5.c Main/HeadFiles/MD5.h
        Main/Sources/StrSimilar.c Main/HeadFiles/StrSimilar.h
        Main/Sources/GetTime.c Main/HeadFiles/GetTime.h
        Main/Sources/ChainsC/CommodityChain.c Main/HeadFiles/ChainsH/CommodityChain.h
        Main/HeadFiles/StandardHeads.h
        Main/Sources/PagesC/WelcomePage.c Main/HeadFiles/PagesH/WelcomePage.h
        Main/Sources/PagesC/RecordPage.c Main/HeadFiles/PagesH/RecordPage.h
        Main/Sources/ChainsC/ChainOpt.c Main/HeadFiles/ChainsH/ChainOpt.h
        Main/Sources/PagesC/ClientPage.c Main/HeadFiles/PagesH/ClientPage.h
        Main/Sources/PagesC/LoginPage.c Main/Sources/LoginC/adminLogin.c
        Main/Sources/LoginC/userLogin.c Main/Sources/LoginC/userSignUp.c
        Main/HeadFiles/PagesH/LoginPage.h Main/Sources/PagesC/CommodityPage.c
        Main/HeadFiles/PagesH/CommodityPage.h
        Main/HeadFiles/PagesH/LoginPage.h Main/Sources/ChainsC/CartChain.c
        Main/HeadFiles/ChainsH/CartChain.h Main/Sources/TotalProfit.c
        Main/HeadFiles/TotalProfit.h Main/Sources/PagesC/GeneralPage.c
        Main/HeadFiles/PagesH/GeneralPage.h Main/HeadFiles/PagesH/GeneralPage.h Main/Sources/PagesC/CostumerViewCommoditiesPage.c Main/HeadFiles/PagesH/CostumerViewCommoditiesPage.h Main/Sources/PagesC/CartDetailPage.c Main/HeadFiles/PagesH/CartDetailPage.h)

